Finishes progress bar for a specified target.

def finish_target(self, name):
        """Finishes progress bar for a specified target."""
        # We have to write a msg about finished target
        with self._lock:
            pbar = self._bar(name, 100, 100)

            if sys.stdout.isatty():
                self.clearln()

            self._print(pbar)

            self._n_finished += 1
            self._line = None