unload hg importer loaded modules