<div dir="ltr">Is there way to cancel an outstanding WebSocketContainer.connectToServer(...) request ?  A connection attempt to an offline server blocks a very long time (minutes), and debugging would indicate IoFuture&lt;WebSocketChannel&gt; seems unwilling to respect an interrupt/cancel from the main thread.<br>
<div><br>IoFuture&lt;WebSocketChannel&gt; session = WebSocketClient.connect(xnioWorker, ssl, bufferPool, OptionMap.EMPTY, path, WebSocketVersion.V13, clientNegotiation); //TODO: fix this<br>        WebSocketChannel channel = session.get();<br>
</div></div>