Merge: Task scheduler auto restart after license (with change) update.
Merge: ModelContext.EnsureRelease method, allows for reintegration of modelcontext