Await all async write operations before shutting down.
Add infrastructure for automated schema updates.