Network in client thread