pub fn kill_process_group_by_pid(pid: u32) -> Result<()>
Kill the process group for the given PID (best-effort).
This resolves the PGID for pid and sends SIGKILL to the whole group.
pid