waitForOrFail

fun ConditionLock.waitForOrFail(timeout: Duration = 5.seconds, predicate: () -> Boolean)