Ensure that spout is exhausted after emitting all tuples.