CloseFuture close(boolean immediately);
Deprecated.
Use either the closeNow() or the flushAndClose() methods
Closes this session immediately or after all queued write requests are flushed. This operation is asynchronous. Wait for the returned
CloseFuture
if you want to wait for the session actually closed.