table->close is changed with table->closeScan