added some sleep functions to brake the LSF submission