public static void main(String[] args) throws InterruptedException {
        PoolingClientConnectionManager pool = new PoolingClientConnectionManager();
        final HttpClient httpClient = new DefaultHttpClient();
        ForkJoinPool forkJoinPool = new ForkJoinPool();
        ArrayList<FutureTask<Object>> futureTasks = new ArrayList<FutureTask<Object>>();
//        futureTasks.add(new FutureTask<Object>());
//        forkJoinPool.invokeAll(args)
        ThreadGroup threadGroup = new ThreadGroup("http-test");
        for (int i = 0; i < 30; i++) {
            new Thread(threadGroup, new Runnable() {
                public void run() {
                    HttpGet httpGet = null;
                    Log4JStopWatch watch = new Log4JStopWatch(log);
                    watch.start();
                    try {
                        httpGet = new HttpGet("http://www.terra.com.br/");
                        HttpResponse response = httpClient.execute(httpGet, new BasicHttpContext());
                        HttpEntity entity = response.getEntity();
                        EntityUtils.consume(entity);
                    } catch (Exception e) {
                        httpGet.abort();
                    }
                    watch.stop();
                }
            }, "thread-" + i).start();
        }

        while(threadGroup.activeCount() > 1) {
            Thread.currentThread().sleep(2000);
        }
        System.out.println("Hello World!");
    }