fail("Expected connections to " + loopback + " to succeed:" +
exception);
}
// clean up
connection.destroy();
// NB: the ServerSocket doesn't seem to close down under JDK 1.3.1
// and 1.4.1 if the accepted sockets aren't closed first.
// This only happens when the ServerSocket is bound to a single address
listener.destroy();