final int connNo = 10;
final CountDownLatch requestConns = new CountDownLatch(connNo);
final CountDownLatch closedServerConns = new CountDownLatch(connNo);
final CountDownLatch closedClientConns = new CountDownLatch(connNo);
HttpRequestHandler requestHandler = new HttpRequestHandler() {
public void handle(
final HttpRequest request,
final HttpResponse response,
final HttpContext context) throws HttpException, IOException {