Here's a pic of the error message Calibre gives me when this happens.

Basically, when the computer wakes up, Calibre seems to try to download news before the computer is connected to the wifi and it says there's no connection and then throws this message. When I close the message or click OK, Calibre closes.
How can I fix this?
Ari