disables a plugin if it causes an exception