Remove cruft from DAGScheduler after job is completed.

Fixes a memory leak