
            while (true)
            {
                if (Program.ImportCanceled)
                    return records;

                using (var imuSession = ImuSessionProvider.CreateInstance(this.ModuleName))
                {
                    var cachedIrnsBatch = irns
                        .Skip(offset)
                        .Take(Constants.DataBatchSize)
                        .ToList();

                    if (cachedIrnsBatch.Count == 0)
                        break;