Fix port bug
Added NoExistingSession exception and a retry wrappign mechanism for when the session is lost mid-auth