Fixed to use ThreadPool instead executor.