Try reconnecting if db gone away during import. refs #17564