def shutdown(self):
        if self.isRunning():
            self.server.kill()
        if self.server is not None:
            self.server.wait()
            self._assertServerShutdown()
        if self.outFile is not None:
            self.outFile.close()
        if self.errFile is not None:
            self.errFile.close()
Decorator that blocks the call until the service is ready
dataset/ETHPy150Open ga4gh/server/tests/end_to_end/server.py/ServerForTesting.shutdown--crossover with--dataset/ETHPy150Open progrium/ginkgo/ginkgo/core.py/require_ready