Added abort in case of database initialization failure.