protected void StopRemoteController(IRemoteController client) { client?.exit(); ((RemoteController.Client)client)?.InputProtocol?.Transport?.Close(); }