Remove active job from idToActiveJob when job finished or aborted
Merge pull request #681 from BlackNiuza/memory_leak

Remove active job from idToActiveJob when job finished or aborted