TEIID-2614 ensuring that anon blocks are resolved properly and work in
asynch processing