def disconnect(self):

        if self.handle is not None:
            self.handle.close_session()
            logging.debug("Disconnected: %s" % self.__str__())
Disconnect netconf session
dataset/ETHPy150Open CiscoDevNet/yang-explorer/server/explorer/utils/runner.py/NCClient.disconnect