A task runner with exponential backoff support.
Interface for checking how many times a given task can be retried following a failure.