Add a few try/catch to workaround bug reports.