Remove the error handling code from the shutdown() path since it's
mostly useless.