def METHOD_NAME(self, timeout: Optional[float] = None):
    logger.info("Stopping CPUUtilizer")
    self._should_stop_cpu_utilization.set()
    self._cpu_utilizer_thread.join(timeout)
    if self._cpu_utilizer_thread.is_alive():
        logger.warning(
            "Timed out while waiting for CPU utilization thread to stop, "
            "it will be stopped forcefully when the parent process terminates"
        )