code: def stop(self):
          '''
          shutdown cache process
          '''
          # avoid getting called twice
          self.cleanup()
          if self.running:
              self.running = False
              self.timer_stop.set()
              self.timer.join(f stop(self):
          '''
          shutdown cache process
          '''
          # avoid getting called twice
          self.cleanup()
          if self.running:
              self.running = False
              self.timer_stop.set()
              self.timer.join()
docs: shutdown cache process