def METHOD_NAME(self) -> None:
    """Close progress bars."""
    if self._is_valid:
        self._progress_bar.METHOD_NAME()
        assert _tqdm_handler is not None
        optuna_logging._get_library_root_logger().removeHandler(_tqdm_handler)
        optuna_logging.enable_default_handler()