If the block raises an exception, `#importer_mode_on` won't be reset to its original value.  Is that intentional?