Forward errors from statement and portal cleanup