- Make the socket server cleaning up any connected client and its input and output so that the JDK bug on Windows does not shows up. - Clean up. - Fix the test, the thread was not the lock owner..dooh !