[Bug 8850] Split thread pool shutdown and destruction