public void Dispose() { if (isDisposed) { return; } isDisposed = true; embedServiceSupervisor?.Dispose(); }