fix worker thread fail on no jobs found