Networking out of the main thread.