possibility to input a threshold in the ShiftScheduler. If the time to end shift is below this threshold then machine does not accept new jobs
test of shift working with threshold added