Currently only the number of retries can be configured. Allow users to override the retry factor and the maximum retry duration.