Store heartbeat locally