Only free memory if streaming or chunking (fixes #74)
Add async parse tests