Set ZMQ.Socket.t reference to NULL after close

zmq_close deallocates the socket, so accessing it would result in a use-after-free.