Added job queue and job removal function.