Exponential retry policy.

It is just for unit tests, right?