fix: reuse of recorder
fix: reuse of recorder

If the recorder is being reused, make sure to reset the lastChunk after
it is processed as last chunk.

itslanguage/itslanguage-js,itslanguage/itslanguage-js