cancelling an ongoing search ref #2 #3