wrap callbacks with try_catch. closes #1