Background command makes app restarted

background command makes app restarted instead of displaying on foreground on following test scenarios on Android device.

Python client 2.11.1
appium v2.0.0-beta.61
[email protected]

driver init -> some tests -> background command with 30 seconds for foreground (this is ok)
-> restart app with driver.reset() ->some tests -> background command with 30 seconds
: after 30 seconds, app was restarted instead of displaying app on foreground.
i couldn’t identify why this happens, but looks like it is appium server or uiautomator2 driver issue.
attached appium logs.appiumLogsBackgroundApp.txt (640.5 KB)

Does the issue happen when this setting is false?