small scheduler fix

Small fix in the scheduler, prevents potential timing bug if worker is
killed before job task actually starts