Stop searching if query string has changed