switch to putting bytes on channel instead of string. detect out channel close so we can propagate it