Perhaps this comment would be better just as "Ensure tables are closed *before* their indices".