TEIID-2504 refining the number of batches that can be sent together