fix(handshake): on timeout emit error so we reconnect