Using thread pool profiles