def stop(self, force=False):
    '\n        Stop seed workers by sending None-sentinel and joining the workers.\n\n        :param force: Skip sending None-sentinel and join with a timeout.\n                      For use when workers might be shutdown already by KeyboardInterrupt.\n        '
    if (not force):
        alives = 0
        for proc in self.procs:
            if proc.is_alive():
                alives += 1
        while alives:
            try:
                self.tiles_queue.put(None, timeout=1)
                alives -= 1
            except Queue.Full:
                alives = 0
                for proc in self.procs:
                    if proc.is_alive():
                        alives += 1
    if force:
        timeout = 1.0
    else:
        timeout = None
    for proc in self.procs:
        proc.join(timeout)
Stop seed workers by sending None-sentinel and joining the workers.

:param force: Skip sending None-sentinel and join with a timeout.
              For use when workers might be shutdown already by KeyboardInterrupt.
def stop(self, force=False):
    '\n        Stop seed workers by sending None-sentinel and joining the workers.\n\n        :param force: Skip sending None-sentinel and join with a timeout.\n                      For use when workers might be shutdown already by KeyboardInterrupt.\n        '
    if (not force):
        alives = 0
        for proc in self.procs:
            if proc.is_alive():
                alives += 1
        while alives:
            try:
                self.tiles_queue.put(None, timeout=1)
                alives -= 1
            except Queue.Full:
                alives = 0
                for proc in self.procs:
                    if proc.is_alive():
                        alives += 1
    if force:
        timeout = 1.0
    else:
        timeout = None
    for proc in self.procs:
        proc.join(timeout)