Closing thread since the search is over.