io.sockets.windows.tests: plugs the socket leaks (#1104)