lib: ensure progress