Appium espresso error (idling resources)

hello Appium members
I have one trouble when running espresso in Appium.
Espresso is unable to get page source with message:
androidx.test.espresso.AppNotIdleException: Looped for 5663 interations over 60 SECONDS…

how can i run espresso in appium with idling resources?
thank you!