Addressing issue of receiving on closed channel