private static CloseableHttpClient[] getHttpClients() {
		log.info("get http client");
		ProxyEntity[] entities = ProxyEntityCaches.getCaches();
		log.info("proxy num:"+entities.length);
		clients = new CloseableHttpClient[entities.length];
		int i = 0;
		for (ProxyEntity proxyEntity : entities) {
			HttpHost proxy = new HttpHost(proxyEntity.getIp(),
					proxyEntity.getPort());
			DefaultProxyRoutePlanner routePlanner = new DefaultProxyRoutePlanner(
					proxy);
			clients[i] = HttpClients.custom().setRoutePlanner(routePlanner)
					.build();
			i++;
		}
		
		return clients;
	}