Fixed a problem with a sleep in a wrong place that cause condor commands like condor_q to be executed
more frequently than what is configured.