Use a RW mutex for DB objects