def purge(self):
        """
        Kill all registered thread and clear the entire registry
        :return:
        """
        for worker in self.registry.values():
            worker.kill()
            # The worker removes itself from the registry when killed.

        Kill all registered thread and clear the entire registry
        :return:
        
system/shthreads.py