bugfix: delay inserted before kill command in progress bar, otherwise it skips to end sometimes