def METHOD_NAME(self):
    """Stop the pool of producers.
    Items currently being produced will not be waited for and be discarded."""
    if self.__watch_dog is None:
        return
    self.__stop.set()
    if self.__watch_dog._popen is not None:
        self.__watch_dog.join()
    self.__watch_dog = None