With the registry ready, you then need to initialize the JobManager:

JobManager.Initialize(myRegistry);

To stop the scheduler:

JobManager.Stop();

To both stop and wait for the running jobs to finish:

JobManager.StopAndBlock();