Bug 1041691 - Cleanup CheckPluginStopEvent, prevent possible leak of running plugin. r=bsmedberg