Move agent controller reference to class scope

This allows us to kill it when required.

Signed-off-by: Aharon Campos <aharoncampos@gmail.com>