Reset buffer when last is read.