Close the channel
void relay_close(struct rchan * chan);
chan
the channel
Closes all channel buffers and frees the channel.