Does this happen every time you change characters or every now and then? A friend had this problem and he solved it by using a proxy. Maybe it's something with your ISP or some modem setting. It happens to me sometimes, but it's not a recurring thing. Disabling Ipv6 might help too, give it a try.