Try to fix random OSX-errors with strategic sleep