Issue #2390787: Ensure agents are paused when necessary since they are no longer automatically paused on changes