I have been having the same issue, but only with one repository.
Red Hat Enterprise Linux 7 Server - Extended Update Support RPMs x86_64 7.6
All other Red Hat and non RH repositories have sync’d without any issues.
I will try the same bulk_load_size: 500 setting to see if it helps.
Thanks,
Cassuis