There should be a mode (you can disable it if you want), that tells you the internet connection speed, as well as the stability of the connection. If your internet connection is fast, but very unstable, it should give you a warning telling you that the internet is unstable, and recommends you to not play at that time.
While it doesn’t completely solve the connection issues obviously, at least it tries to solve it.