Closes the channel.
void close() shared;
A closed channel does not accept any new items enqueued using
empty to return
fals as soon as all preceeding elements have
Asynchronous I/O that doesn’t get in your way, written in D