close

Closes the WebSocket connection.

Return

A CompletableFuture that completes when the connection has been closed.