Add a retry helper for our coroutine code (network calls in the Android app and the Ktor backend). Put it in src/main/kotlin/Retry.kt, top level, with exactly this signature: suspend fun retry( times: Int, initialDelayMs: Long, maxDelayMs: Long, factor: Double = 2.0, shouldRetry: (Throwable) -> Boolean = { true }, block: suspend (attempt: Int) -> T, ): T Rules: - times is the total number of attempts, including the first. Throw IllegalArgumentException if times < 1, initialDelayMs < 0, maxDelayMs < initialDelayMs, or factor < 1.0. - block receives the attempt number, starting at 1. Return its result as soon as an attempt succeeds. - After failed attempt k, if another attempt is allowed, wait min(initialDelayMs * factor^(k-1), maxDelayMs) milliseconds using delay (so tests with virtual time work), then try again. The first wait is initialDelayMs. - If shouldRetry returns false for an exception, rethrow that exception immediately without waiting. - Never retry a CancellationException: rethrow it immediately. Cancelling the caller must also stop the retry while it is waiting. - If every attempt fails, throw the exception from the last attempt, with the exceptions from the earlier attempts attached as suppressed exceptions, in the order they happened. - Large values must not overflow: for example times = 100, initialDelayMs = 1000, maxDelayMs = 60000, factor = 10.0 must wait 1000, 10000, then 60000 for every later wait.