don't close sockets in a callback
don't close sockets in a callback

Closing a stream after IOLoop has stopped results in the socket never being closed.

If you want to schedule socket closure, use add_callback(stream.close)
dash-dash/pyzmq,Mustard-Systems-Ltd/pyzmq,Mustard-Systems-Ltd/pyzmq,yyt030/pyzmq,ArvinPan/pyzmq,yyt030/pyzmq,swn1/pyzmq,dash-dash/pyzmq,caidongyun/pyzmq,yyt030/pyzmq,ArvinPan/pyzmq,caidongyun/pyzmq,caidongyun/pyzmq,swn1/pyzmq,ArvinPan/pyzmq,swn1/pyzmq,Mustard-Systems-Ltd/pyzmq,dash-dash/pyzmq