public class RetryingTaskExecutor<T>
Helper class that allows you to easily run a task that is likely to fail multiple times. It will attempt to rerun the
task using a backing off algorithm or constant time. By default backing off is used with 1000ms initial delay and 10 max retries.
Delays are capped at 60s per run. The last attempt will be at least 4 minutes after the first call.