You should probably use exponential back-off here too instead of a fixed 10 seconds.