time: introduce sleep
and sleep_until
functions
#2826
Merged
sleep
and sleep_until
functions
#2826