Try this, go to developer options or unlocked it by tapping the firmware build number 7 times after you unlocked it find the BACKGROUND PROCESS and set it to NO BACKGROUND PROCESS. and that’s it, hope it remedies the problem. This is what i did and so far i haven’t seen this problem again
PS. This is not a fix ok? Hope they fix it with an update and i apologize for my bad english.