cleanup scheduler, cleans up jobs that no longer are scheduled, ensure that running jobs don't overlap with each other.