Empty the queue before deleteing the jobs, in case new jobs arrive