Correctly log last successful heartbeat time.
Correctly log last successful heartbeat time.

The agent mistakenly logged the last successful ping time instead, when an error occurred.
buildkite/agent,buildkite/agent,buildkite/agent