move stream channel into connection