I just pushed a patch to allow vars in sleep() and usleep() -- try with latest master branch and if there are problems, open an issue on tracker.
—Reply to this email directly or view it on GitHub.