How to control the number and the delay of jobs restart ?