Logout while offline

I am trying to clear the tokens after a failed logout while the user is unknowingly offline.
I have tried:

  1. authStateManager.clear()
  2. authStateManager.removeFromSecureStorage()

On iOS:

  1. Login using Okta
  2. Turn off all networking
  3. Logout (gets error because it is offline)
  4. Turn networking back on
  5. Login - Still has tokens and it logs in automatically