Why would my usb 2 ports all of sudden stop working?

I start computer with no problem(Windows 7). Online with Alfa Realtek wifi adaptor.
surfing about an hour and then USB ports stop working.
1. Wifi disconnects
2. USB ports stop working

I restart computer and then all is well. Everything works ok.

NE Ideas?

Thanks in advance