Fix #2421 (load and unload several plugins)