GC OAuth token refresh failing mid-batch in Kotlin

Running a background job to fetch historical metrics via GET /api/v2/analytics/conversations/details/summary. The batch takes about 12 minutes. Access tokens expire in 1 hour, but the genesys-cloud-auth-client isn’t refreshing the token automatically when the first request fails with a 401 Unauthorized. The retry logic seems to be stuck on the old token. Is there a specific Kotlin coroutine scope issue or do I need to manually hook into the onTokenExpired callback to force a refresh before retrying the failed chunk?