Restored correct end-of-stream behavior for AsyncParser