getAgent cannot return a dead agent