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