Sleep until the correct time in DmaScheduler::yield