I have this very annoying problem where I will occasionally become disconnected from the Internet while playing Battle Spot on Pokemon Alpha Sapphire and Pokemon X on my New Nintendo 3DS XL. This is extremely troubling to me, as it counts as a loss whenever I get disconnected, and I'm aiming to finish the season in the top 100 in some of the formats. I'd estimate it happens once every 15-20 battles, which is way too high for my liking (really, it should never happen at all). Of course, I know this is a problem with my 3DS, and not my Internet, because my laptop remains perfectly connected when this happens.
Typically, I'm given error code 003-4099 when this happens. However, one time recently (within the past week), I was given the error "Communication with the server was interrupted" with no error code attached to it.
I have been using Google's DNS, as well as giving my 3DS a static IP address with my router set to have it in the DMZ, and none of these things seem to have fixed the issue. I have contacted Nintendo tech support a couple of times (are they even still around anymore? I couldn't find them while looking through their site). I really am at my wit's end as to how to fix this problem. If anyone has any insight, please let me know.