Fix integer underflow in SleepTo