Scheduler throws exception if workers is empty