There should be a method to prioritise a LAN connections in TeamViewer, connection requests are more stable within an internal network.