add WSACleanup() invocation