cleanup of confirmation flow