* Halt the plugin startup if there is a bad config.
* Make onRun check in case it is in the process of shutting down (avoids exception).