def reconnect(self):
try:<EOL><INDENT>self.conn.close()<EOL><DEDENT>except Exception as e:<EOL><INDENT>self.logger.warn(e)<EOL><DEDENT>self.createConnection()<EOL>return True<EOL>
Allows reconnection from when a handled
        TransportException is thrown