Fix concurrency issue in DBEntryBase removal

Change-Id: Ie0b5b2f4dcd81546f51e5a5b2e0e269d25717101