def tryToCloseStream(self, out):
        try:
            # try to close output stream (e.g. file handle)
            if out is not None:
                out.close()
        except __HOLE__:
            pass  # NOP
dataset/ETHPy150Open rwl/muntjac/muntjac/terminal/gwt/server/abstract_communication_manager.py/AbstractCommunicationManager.tryToCloseStream