What does this `while(true)` do? Where is a `break;` ?

Looks like there is need more tests for this new `Lock`.