Sometimes when I'm playing The Division 2 (Via Ubisoft Connect) it either ends the session after a while of seeing the desktop, launches the game but then closes it and ends the session or lets me play for a few seconds and then closes and ends the session.
I've not had this issue with other games, including other games on Ubisoft Connect such as trackmania.