save state before trying to move 'removeRemoveBgJobFromList' calls to 'checkJobs'
get rid of removeBgJobFromList() function and do all bg job list management in CheckJobs() to make more test cases work