Add jobs.OnFinish method to register listener that will trigger when job is finished. Includes fix for stopping listeners.