fixed shutdown code. Should actually work now
Merge branch 'master' of https://github.com/halgari/com.tbaldridge.hermod