avoid close msg_chan