close metatables over index/newindex and remove from table