cancel handshakeTimeoutTask if the socket gets closed