Close underlying connection in Dial() if handshake fails.