server disconnect the client if handshake fails