Can you test if this happens when you use a network cable or does your dock not come with a network port?
Do you know what wifi does your ISP router use? Is it 5 or 6? Is it set to 2.4, 5, or 6Ghz?
How far is it from the router? Does any other device drop connection?
Oh man. I’m glad it solved it but I’m also very confused.