Close DataWriters with actor system shutdown hook instead of manually, close #1184