Perform any necessary cleanup.
@override Future<void> dispose() async { await _sink?.flush(); await _sink?.close(); _sink = null; }