abort pending query when new query is triggered