docs: def stop(self):
          """
          Request thread to stop.
          Does not wait for actual termination (use join() method).
          """
          if self.is_alive():
              self._can_run = False
              self._stop_event.set()
              self._profiler.total_time += time() - self._start_time
              self._start_time = None