ENG-6942: Refactor bulk loader to fix deadlock.

Is'nt this supposed to be row by row? Looks like you are submitting a batch.