Remove assertion in handshake.