GPII-434: Fix for test corruption on Windows caused by reconnection attempts by socket.io. Some improved diagnostics and commenting