Add 0.5 second delay in handshake()