Removing jobs from processing queue starting from the head