improved notification when query is cancelled.