Workers: don't let workers accumulate in the queue. Restart those who are already in it if possible

Signed-off-by: Jerome Flesch <jflesch@gmail.com>