def METHOD_NAME(self):
    """Close the project but only if roxarapps (external) mode, i.e.
    not current RMS project
    In case roxar.Project.open() is done explicitly, safe_close() will do nothing.
    """
    if self._roxexternal:
        try:
            self._project.close()
            logger.info("RMS project instance is closed")
        except TypeError as msg:
            xtg.warn(msg)
    else:
        logger.info("Close request, but skip for good reasons...")
        logger.debug("... either in RMS GUI or in a sequence of running roxarapps")