backoff

fun backoff(retries: Int): Duration

The backoff after retries retries: initialBackoff doubled retries times, at most Long.MAX_VALUE ms.