Fix importer hang on first import.