Remove socket duplication. Not available on Windows.
Code seems to work without that just as well.