Closing of ContextIndex on shutdown of store.