Okta-auth-js trasnaction cancel

If we are building a custom login form with MFA, is it critical that we call transaction.cancel() if the user wants to exit out in the middle of the MFA flow?