def METHOD_NAME(self):
    with self.__LOCK:
        if self._is_running():
            self._sending_thread.interrupt()
            self._sending_thread.METHOD_NAME()
            self._sending_thread = None
            self._values_queue = None