If you are using mobile broadband internet (GPRS, EDGE, 3G) you may face some disconnection problem if long idle time or other reason.
To solve this problem open click on run (or, win key + r), then type
ping -t google.com
and press enter. Then minimize the command prompt and do your necessary work. This prevent you from frequent disconnect.