Mysterious TeamViewer 14

Hi,

I installed TeamViewer 14 on my new laptop with Windows 10 Home four days ago. Sometimes it works well, sometimes it cannot find internet connection and asks for checking the internet connection.  I am not able to find where the problem is because the laptop is always connected to the internet. Any ideas what should I check if TeamViewer is unable to connect to the internet?