Use closesocket() instead of close() on MSW