Hopefully the Posix.close now works for files and sockets on Windows