Added ShutdownListener support to Controller.