Added code to allow continue import after interrupt

Useful for continuing with big imports.