Take off the main thread the network task