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

Finally what I promised to do in #13862 /cc @alexcrichton
Like above, could you arrange it such that this example doesn't take 5 seconds to run? Another option would be to add a `no_run` annotation to the block which will typecheck the code, but not run it.