Add flag to exit with only a single batch of search results