atexit the socket machinery.