closing the channel from the sender