Replace the quit bool chan by an empty struct chan.