Catch exceptions from background jobs and log them
remove background jobs if they are failing
Dont use exceptions for the backgroundjob test cases
add test case for removing background jobs that are throwing exceptions