why it takes so long to connect to remote pc?

In older teamviewer 15 it usually takes about 5 seconds or less to connect to my remote pc but since a month ago the connecting time became 20~30 seconds, is there any way to solve this problem?

I've tried to use the same wifi within almost the same condition but it doesn't work. But once the connection established it works perfectly without noticeable lag, unless I connect to a poor Internet at school