class ProcessRpcConnection implements RpcConnection {

    @Override
    public void close() throws IOException {
        log.info("Closing process connection. Killing process = {}", killProcessOnClose);
        if (killProcessOnClose) {
            process.destroy();
        }
    }

    public  ProcessRpcConnection(Process process);
    public  ProcessRpcConnection(Process process, boolean killProcessOnClose);

}