Add example using resumable returned from a function.
Add command line option to enable verbose error output.