Fix : streaming mode bug (re-using context & buffers)