Shut down nicely when we're indexing