added utils.sleep (needs winapi or posix)