dird: add unload() in service plugin