Flushes any buffered data and closes this data manager.
After calling close the data manager can no longer be used.
Future<void> close();