time: Add sleep()

Delays for given number of seconds