@Test
public void testShutdownWithoutStart_SocketReleased() throws IOException {

    factory.shutdown();
    factory = null;
    ServerSocket ss = new ServerSocket(listenAddress.getPort());
    ss.close();
}