Close open ftp connections during import