don't we need to validate the thread pool configuration?