Fix timer continuing to count when offline.