adjust lock so that no dangling lock exits when simulator enters scheduler
adjust lock so that no dangling lock exits when simulator enters scheduler

imzhenyu/rDSN.dist.service,imzhenyu/rDSN.dist.service,imzhenyu/rDSN.dist.service,imzhenyu/rDSN.dist.service