matroska: set "done" only during resync fail.