don't call the callback if the query is cancelled