There is a race condition between the background loop checking for okta push and the user sending a code. If the code is sent the background task might also send a query which will be invaldated because the user has already logged in.
We need to suspend sending background requests as soon as the user submits a code.