Added batched jobs lock, should only run once and introduces a delay between runs. Executes batched jobs when starts.