def stop(self):
        # avoid getting called twice
        self.cleanup()
        if self.running:
            self.running = False
            self.timer_stop.set()
            self.timer.join()
shutdown cache process
dataset/ETHPy150Open saltstack/salt/salt/utils/master.py/ConnectedCache.stop