Commit#83 stop recursive function

Stop recursive function sending more requests if user has initiated a
new search.