def close(self):
        try:
            self._failed = True
            if self._file is not None:
                self._file.close()
            self._failed = False
        finally:
            self._file = None
call a method on the remote server
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/builtin_monitors/linux_process_metrics.py/BaseReader.close--crossover with--dataset/ETHPy150Open circuits/circuits/tests/web/jsonrpclib.py/ServerProxy.__request