Intermittent Sleeping

Sleeps for a while and returns the control flow afterwards. Can be used to check for user input (eg: CTRL+C) while sleeping or updating a status bar.

For more accurate sleeping the accuracy feature can be used.