public async Task <string> Get() { ZooKeeperLock zooKeeperLock = new ZooKeeperLock(); string result = null; if (await zooKeeperLock.TryLock(6000)) { result = "Success"; } else { result = "Fail"; } await zooKeeperLock.UnLock(); return(result); }