pub/sub didn't work because of close clientChan

I don't know why run a goruntime at the begin of ServeClient.When clientChan close,the ChannelWriter will return,so that ChannelWriter.Channel did't work any more