TEIID-2672 fixing how the working buffer is passed