Stop the node process when done indexing