core: When lease channel is closed query-tuples is terminated