How to make the plugin shutdown really

I have wrote a plugin for openfire.And implement the destroyPlugin method of Plugin interface.But when I remove the plugin jar file from plugins folder of openfire.I found the destroyPlugin method was called again and again.