This is a very known issue , please try to use Check App state activity(part of Modern Activities) , and add more amount of delay value in it and check .
Also you can try enabling Remote Debugging in Studio, and check what is going on with the process in UnAttended mode .
Hope this helps you in right direction and your process works smoothly .
Please refer this links below for reference