make sure we close the active channels when eof is received on them
make sure we close the active channels when eof is received on them

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator