On Wed, 07 Sep 2016 06:50:04 GMT, Jack Applegame wrote:

I don't see anything wrong. You start three tasks: pinger, closed connection watcher and channel worker. But only one task (channel worker) sends data to the stream.
Looks like a bug.

I made repo with minimal code to experiment:

git clone https://github.com/crimaniak/waitForConn.git

I hope Sönke will explain what is wrong here.