public void Cleanup() { ServiceScopeOne.Dispose(); ServiceScopeOne = null; ServiceScopeTwo.Dispose(); ServiceScopeTwo = null; }