Restart with delay

Problem: we do 1000 restarts in a matter of several seconds. In case of network failures or services unavailability we often block queue before this failure has been recovered.

I propose next solution: we delay restart depending on the current restart attempt number. There is no delay for the first restart, 1 sec for second and around 10 secs for 1000th. 

Queue will be blocked for the period of a delay. But it's ok for the most use cases.