canceling the block if the query is cancel too
cancelling all queries correctly