Correct a bug if many workers try to call requeue_delayed_jobs at the same time
Full test coverage + config for nosetests