Bug 3794/disable agent feature does not work as expected doesn t stop running agents

http://www.rudder-project.org/redmine/issues/3794