Did you intend to change this to PulpTaskStatus.wait_for_tasks?  If so, why change this one and not all other instances?