I'm using Cognito hosted UI to allow new user to sign up and require new sign up to enter confirmation code sent via email. However, if the user failed to enter the confirmation code and close off the hosted ui, the sign up flow will get stuck (as reported here). The new user will not be able to sign-in or sign-up again because the user is created in cognito in unconfirm status.
Any advice?