You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So when you invalidate client and immediately create new one with same url, you reuse the session that will be invalidated after some delay, and all client requests will receive error that session is invalidated.