def reconnect(self):
        self.close()
        self.connect()
Close the connection to the NATS server and open a new one
dataset/ETHPy150Open mcuadros/pynats/pynats/connection.py/Connection.reconnect