TEIID-2637 correcting the batch iterator and cleaning up the
synchronization used at the datatiertuplesource layer and below