Use threads for TCP connections.