client1.connect();
try
{
final RHTTPClient client2 = new JettyClient(httpClient, address, server.getContext().getContextPath()+GatewayServer.DFT_CONNECT_PATH, targetId);
// Disconnect client 2, this should not disconnect client1
client2.disconnect();
// We want the await() to expire, it means it has not disconnected
assertFalse(latch.await(1000, TimeUnit.MILLISECONDS));
}
finally