finish handshake