Remove rua db write logic from rua_init, rua_fini.