Close the log reader stream before conducting the search.