fix(handshake): on timeout emit error so we reconnect
Merge pull request #564 from virgo-agent-toolkit/fixes/reconnect_on_handshake_timeout

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