Solve the count-to-infinity problem