(#2251) - fix race condition in ldb changes