bug in utils.sleep for posix (thanks to lglob for spotting this)