Add sleep to OSX