Ensure database is writable before destroying a message