Using thread pool in search manager.