- unload plugin method -> to store settings
- mutex improved thread safety