Add examples of how to read from a channel with a timeout, refs #13862

Finally what I promised to do in #13862 /cc @alexcrichton
The example looks like it's breaking out of a loop instead of aborting, was it intended to fail?