@jasonsanjose I added better handling of `unloadAgents()`.