Refactored to use IntentService.
Not more network problems!