Reset for progress bar on error, fixes #47