Update to check for network before sending tasks.