code: def external_server_9001(self):
      corenlp_home = client.resolve_classpath(None)
      start_cmd = (
          f'java -Xmx5g -cp "{corenlp_home}" edu.stanford.nlp.pipeline.StanfordCoreNLPServer -port 9001 '
          f"-timeout 60000 -server_id stanza_external_server -serverProperties {SERVER_TEST_PROPS}"
      )
      start_cmd = start_cmd and shlex.split(start_cmd)
      external_server_process = subprocess.Popen(start_cmd)
  
      yield external_server_process
  
      assert external_server_process
      external_server_process.terminate()
      external_server_process.wait(5)
  
imports: from http.server import BaseHTTPRequestHandler, HTTPServer
  import multiprocessing
  import pytest
  import requests
  import stanza.server
  import stanza.server.client
  import shlex
  import subprocess
  import time
  from stanza.models.constituency import tree_reader
  from stanza.tests import *
label_desc: Use image node_id 11 for calling the TestCoreNLPClient obj's underlying member method code with example usage: obj.external_server_9001() without return types