def METHOD_NAME(self) -> None:
    while True:
        try:
            with db():
                self._clean_matrices()
        except Exception as e:
            logger.error("Error while cleaning matrices", exc_info=e)
        logger.info(f"Sleeping for {self.sleeping_time}s")
        time.sleep(self.sleeping_time)