Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reset heartbeat timer when attempting to reconnect
This commit fixes a bug in the reconnect handling code where the client would overwrite a pre-existing heartbeat timer without first cancelling it. As a result, the old timer would eventually fire and trigger a HeartbeatFailedException closing the connection.