add try/finally block around callback invokation
build