Update ThreadPool.
Wait for async logging to finish on hierarchy shutdown.