TEIID-2797 fix for cleaning up buffer full plans