Light-weight and fast realization of progress bar for pipe.