ENG-5708: reset stats on truncation.

ENG-5708: reset stats on truncation or any errors.