Sending failed job status in case of exception