Fix not holding resource for all cvs in EngineJob