This commit introduces a `doFinally` block that properly signals the end of input for the non-blocking XML and JSON parsers.