test Thead of sleep tenure the lock