There are literally so many reasons that such a thing could happen that I really encourage you to try and narrow down the possible reasons. If you have two wireless devices check if this occurs on both devices and if it happens at the same time, in regular intervals, during any specific events etc. At the same time, if you can, compare wireless connectivity to wired connectivity. Most likely you're experience an extremely weak signal that gets lost every now and then so, if you can, use a diagnostics tool to check the strength of the connection. Most popular brands have their own utilities you can find on their respective websites.