add try/finally block around callback invokation
build
Merge pull request #3 from dmitriiabramov/master

add try/finally block around callback call