Fix NPE in Cancel found by test:
test_rf_1ktrees_job_cancel_fvec/Basic/test_rf_1ktrees_job_cancel_fvec/