Ensure that the last continuation token is also written to the database.