Computes the delay for a given attempt using exponential backoff.
Backoff configuration.
The current attempt number (1-indexed).
Delay in milliseconds.
Computes the delay for a given attempt using exponential backoff.