code: def reinstall(self):
          
          with _LOCK:
              if not (self.thread.is_alive() and self.thread in _ORIGINAL__ACTIVE):
                  self.thread = self.thread.clone(bind_delay=self.reinstall_delay)
                  if self.should_restart:
                      self.thread.start()
docs: Reinstalls the manhole. Checks if the thread is running. If not, it starts it again.