def _break(self, value):
    if self.is_iterator():
        self.get().close()
    else:
        self.set(iter([]))
def _break(self, value):
    if self.is_iterator():
        self.get().close()
    else:
        self.set(iter([]))