subprojects/parseq-zk-client/src/main/java/com/linkedin/parseq/zk/recipes/ZKLock.java
private <T> Task<T> unwind(Try<T> result) {
    if (result.isFailed()) {
      return Task.failure(result.getError());
    } else {
      return Task.value(result.get());
    }
  }
private <T> Task<T> unwind(Try<T> result) {
    if (result.isFailed()) {
      return Task.failure(result.getError());
    } else {
      return Task.value(result.get());
    }
  }
Unwinds the result from {@link Task#toTry()}.

@return task with the raw result.