Added the ability to kill an agent