Close the socket if key exchange fails