Handle any intermediary errors which can occur while shutting down the
webserver. Such errors have prevented threadpool.stop() from being called
resulting in a zombi process.