pub fn backoff(base: Duration, attempts: i32) -> Duration
How long to wait before the attempt after attempts, doubling each time.
attempts