'Kill all workers with the signal `sig`
:attr sig: `signal.SIG*` value'

def kill_workers(self, sig):

    worker_pids = list(self.WORKERS.keys())
    for pid in worker_pids:
        self.kill_worker(pid, sig)
