Close channels when done instead of sending in-band magic values.