Remove folder in SimpleTagProvider

I use a SimpleTagProvider
I create some tags and then need to delete some of them (with removeTag).
Tags are removed, but the folder where was the tag are still in the tag’s tree.
is there a way to remove the empty folder ?