Kill controller on exit