Added Latch.releaseEither method.