ensure that tests using the XML-RPC server wait for the thread to end.
ensure that tests using the XML-RPC server wait for the thread to end.

RitwikGupta/pygr,RitwikGupta/pygr,GenDataPro/pygr,theoryno3/pygr,cjlee112/pygr,RitwikGupta/pygr,GenDataPro/pygr,ctb/pygr,ctb/pygr,cjlee112/pygr,ctb/pygr,GenDataPro/pygr,cjlee112/pygr,theoryno3/pygr,cjlee112/pygr,ctb/pygr,theoryno3/pygr,ctb/pygr