success flag in QueryContext#close is honored