Backoff configuration.
Number of failures so far (1-indexed).
Delay in milliseconds.
Computes init_delay * multiplier ** (attempts - 1), capped by max_delay when
provided. Inputs are not validated; nonfinite or extreme values can produce
nonfinite delays, which sleep rejects.
Computes the delay for a given attempt using exponential backoff.