ENG-6942: Refactor bulk loader to fix deadlock.

maybe a System.err.println with more information?