killAgentProcess

Kill an agent process by id. Return the killed process, or null if no such process was found.