Fix concurrency bug
Fix bug when replaying causing the document parser to omit all yields and finish document parsing