connreq = mgr.requestConnection(new HttpRoute(target), null);
ManagedClientConnection conn = connreq.getConnection(250, TimeUnit.MILLISECONDS);
mgr.releaseConnection(conn, -1, null);
mgr.shutdown();
}
public void testReleaseOnEntityWriteTo() throws Exception {
HttpParams params = defaultParams.copy();
ConnManagerParams.setMaxTotalConnections