docs: public boolean close() {
      if (open.compareAndSet(true, false)) {
        futures.forEach(future -> future.completeExceptionally(new IllegalStateException("Closed session")));
        return true;
      }
      return false;
    }