Merge pull request #202 from scprek/reconfig_shutdown

Patch to shutdown when deconfig happens outside reconfig loop