do not clean up the error handler during shutdown, avoids a segfault