Is it possible to redirect a user to avoid showing an AJAX batch processing error?
I found the cause of the error-- I had a custom rule that sent an e-mail to the admin when the account was cancelled.  By deleting this rule, the error disappears and the user is logged out properly.