Actually, after some tests, i realized this broke resuming.   You should not clean all the chunk, only the last one.  This is too strict