Ensuring the database is actually saved after a call to the synchronous method `closeNow`.