TEIID-1543 adding logic to automatically reduce parallelism