ditto, one line and try-finally.

And seems above two parts of code very same, consider reuse code.