Server now closes the connection if the handshake fails