Apps that access the internet crash when waking up from sleep
Starting up in “safe mode” performs some repairs:


  Shut down your Mac and wait 10 seconds. Press the power button.
  Immediately after you hear the startup tone, hold down the Shift key.
  You should press the Shift key as soon as possible after you hear the
  startup tone, but not before.
  
  Release the Shift key when you see the gray Apple logo and progress
  indicator (spinning gear). To leave safe mode, restart the computer
  normally without holding down any keys during startup.


Also, run Disk Utility, Repair Disk. Sounds like network problem, though, which could be as simple as trashing network settings (writing down any you won't remember,) Restarting and inputting afresh ...