public void close() throws InterruptedException {
        rpcServer.stop();
        for (Integer port : allocatedPorts) {
            PortRangeAllocator.releasePort(port);
        }
        t.join();
    }
Tester for running rpc server.

@author Ulf Lilleengen
configserver/src/test/java/com/yahoo/vespa/config/server/rpc/RpcTester.java