TEIID-2369 adding a wait to ensure change detection