Increment 'in_frames' even after abort_write() has been called so that written_time() is accurate.