Fix random UT failure in TestLockedClusterEntityManager