Here is the error:
File "library.zip/xmpp/transports.py", line 183, in send self._send(raw_data) File "/usr/lib/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args) error: [Errno 32] Broken pipe
Question: how to treat it without losing the connection and sending raw_data