Add heartbeat timer