Handshake return fixed
Server now closes the connection if the handshake fails