#237 fix various bulk loader bugs related to nproc ulimit exceeded