[library] fix persistent task missing request crash