Time.unscaledDeltaTime problem on android when app minimized and maximized?

I wrote this simple script:

private int counter = 0;

void Update()
{
    print( (counter++) + " | Time.unscaledDeltaTime: " +Time.unscaledDeltaTime);
}

When I now start this app in android I get something like this:

35 | Time.unscaledDeltaTime: 0.02269688

When I minimize the app now and wait e.g. like 3 seconds and maximize the app again I get this:

36 | Time.unscaledDeltaTime: 3.097296
37 | Time.unscaledDeltaTime: 0.004942969
38 | Time.unscaledDeltaTime: 0.01963734

Why I get this big impact with unscaledDeltaTime? I use unscaledDeltaTime, because in the game I use

Time.timescale = 0.0F;

Any ideas how can I solve this? Maybe a coroutine?

I kind of solved this. This is the idea.

private int counter = 0;

private bool active = true;

void Update()
{
	if (active)
		print( (counter++) + " | Time.unscaledDeltaTime: " +Time.unscaledDeltaTime);
}

void OnApplicationPause(bool pauseStatus)
{
	bool isPaused = pauseStatus;
	
	if (isPaused) {
		active = false;
	}
	else
	{
		StartCoroutine( SetActiveToTrue() );
	}	
}

private IEnumerator SetActiveToTrue()
{
	yield return new WaitForEndOfFrame();
	
	active = true;
	
	yield return null;
}