final AsyncHttpClient c = new AsyncHttpClient(new AsyncHttpClientConfig.Builder().setMaxRequestRetry(0).build());
final CountDownLatch l = new CountDownLatch(getCount());
Client client = ClientFactory.getDefault().newClient();
RequestBuilder request = client.newRequestBuilder();
request.method(Request.METHOD.GET).uri(targetUrl);
request.transport(transport());
request.encoder(new Encoder<String, String>() {
@Override
public String encode(String s) {
return s;