Fix minor memory leak when Job doesn't have nodes on it (Meaning the job
has finished)