Hi Lars,
Are you using the AppKeepAlive?
If so I would disable that and instead use one of the services listed at the bottom of the AppKeepAlive article.
I'm just guessing that the AppKeepAlive which is trying to make web requests is the source of the netwroks socket error if it can't connect. The error stack trace doesn't make it very clear.
Hope that helps,
Joe