poolSize, poolSize, KEEPALIVETIME, TimeUnit.SECONDS,
new LinkedBlockingQueue<Runnable>());
try {
// sample all resources with threadpool
final List<Future<HTTPSampleResult>> retExec = exec.invokeAll(liste);
// call normal shutdown (wait ending all tasks)
exec.shutdown();
// put a timeout if tasks couldn't terminate
exec.awaitTermination(AWAIT_TERMINATION_TIMEOUT, TimeUnit.SECONDS);