fix bugs for ZkReentrantLock