Wrap job handler in trycatch.