def METHOD_NAME(self, name):
    """End a progressbar."""
    if name not in self._progress_bars or not self._progress_bars[name]:
        return
    self._progress_bars[name].close()
    del self._progress_bars[name]