sleep 1 second to wait handshake ok