def METHOD_NAME(pid:int, signal:int) -> None:
	workers:set[int] = {p.pid 
		     for p in psutil.process_iter() 
			 if p.name() == PROCESS_NAME}
	workers.discard(os.getppid()) # don't allow killing the master process
	if not pid in workers:
		abort(404, "Worker process not found")
	os.kill(pid, signal)