TEIID-2467 removing the rest of the processing that holds a thread