Add a `close(ch)` above this line, since the `range` stops when `c.stream` is closed.