Actually close the plugin resolution cache.

+review