prevent possible race condition when removing db pid from the registered pid (#68)
prevent possible race condition when removing db pid from the registered pid (#68)

should fix #60 . right now the system is still messy as the database state is maintained as 2 places in ETS and in the db process. This should change soon to be maintained
barrel-db/platform,barrel-db/platform,barrel-db/platform,barrel-db/platform,barrel-db/platform,barrel-db/platform