Groovy SmartApp Shutdown

Check this out, working perfectly, at least for single harmony hub: