private void Process(IJob job) { try { job.Perform(); SetProcessed(); } catch (Exception ex) { try { job.Failed(ex); } catch (Exception) { } SetFailed(); } }