Fix plugin cleanup when the plugin wasn't successfully initialized.
Fix plugin cleanup when the plugin wasn't successfully initialized.

sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata