TEIID-2359 ensuring that buffermanager resources are cleaned up
appropriately