Ensure heartbeat timer always restarted