Make DataWriter singleton restartable, close #1533