Make sure all write attempts made after a channel is closed are marked as failure