I used to have a laptop that would do that. I'd put it to sleep, shake it, and then the wifi would work again.