1. Use VPN (Which always helps me with the stupid timeout)
2. Restart your Router/Modem
3. Get Fiber internet connection
4. Check your upload and download speed
5. Contact your internet service provider
6. Update your Software in Modem/Router (Only if you use non ISP provided Modem/Router)
7. Use Lan connection since wifi is not that great
8. use Cloudflare DNS Resolver or Google DNS Resolver
9. Check your DSL/vDSL/Fiber Lines
10. Get an Better internet
This might help you