Add helper to kill a process by ID.