Call plugin destroy methods before shutdown on signal
Merge pull request #23 from hashworks/fix/pluginshutdownonsignal

Call plugin destroy methods before shutdown on signal