Avoid waiting for a connection event if the SocketChannel already connected.