TEIID-2582 ensuring that using the calling thread does not unnecessarily
use the output buffer