Make pause/resume work properly in the batch converter.