{
exceptionLatch.countDown();
}
});
Assert.assertTrue(control.closeConnectionsForAddress(remoteAddress));
boolean gotException = exceptionLatch.await(2 * JMSServerControl2Test.CONNECTION_TTL, TimeUnit.MILLISECONDS);
Assert.assertTrue("did not received the expected JMSException", gotException);
remoteAddresses = control.listRemoteAddresses();