Update examples to use catch/finally