Fix receive handshaking error