add finally call
Merge pull request #183 from lipp/add-finally

add finally call