Close the channel
void relay_flush(struct rchan * chan);
chan
the channel
Flushes all channel buffers, i.e. forces buffer switch.