Generalize `#sleep` for monotonic and wall clock

This reminds me of this thread about how even the monotonic clock might ignore hibernation on certain platforms.