Security check re-login causes disconnect

I was playing overwatch and from time to time the Battle.net app would pop up over my game and go through the login process (I have password remembered so it automatically logs in) as if it was just closed and reopened. After it logs in, the app goes away, but I would also disconnect from my game shortly after. I was in a call on discord so I can verify that there are no internet issues.