fix "progress animation stops on 90% in case of error"