Don't attempt to flush if the channel is already done