HeartBeat: Make the heartbeat class store the last ID received from the system.