I have encountered an issue with my app: after some time working it "goes to sleep". After I start the app, it works well for some time, but then it just stops, th