fix: Avoid panic when consumer of vertical concat is done (#28272)