sched: Use built-in instead of open-coded timeout helpers.