agent gets removed after its death