@Test
    public void issue14Fail () throws Exception {
        new ServerThread() {

            @Override
            protected void handleConnection ( final AFUNIXSocket sock ) throws IOException {
                // terminates connection
            }
        };

        try ( AFUNIXSocket sock = connectToServer() ) {

            // Sometimes this test would pass, so let's sleep for a moment
            Thread.yield();

            try {
                sock.setSoTimeout(12000);
                System.err.println("NOTE: Socket#setSoTimeout(int) did not throw an AFUNIXSocketException. This is OK.");
            }
            catch ( AFUNIXSocketException e ) {
                // expected, as the socket is actually closed
            }
        }
    }