[Koha-bugs] [Bug 32990] New: Refactor C4::ImportBatch::_update_batch_record_counts to prevent deadlock