RUBY-533: Split bulk inserts into many messages