WIP issue #48: Shut down server if DB commit fails to avoid potential DB corruption.