Use thread pool to resolve hosts