def METHOD_NAME(self):
    if self._file_client:
        file_client = self._file_client
        self._file_client = None
        try:
            file_client.METHOD_NAME()
        except AttributeError:
            pass