push down recovery index handling into qi recovery
Trap exits and ensure we close the table on shutdown