@Override
        public void close() throws IllegalMonitorStateException {
            lock.close();
        }
Releases the lock.

@throws IllegalMonitorStateException if the current thread does not hold the lock.
xmppserver/src/main/java/org/jivesoftware/util/AutoCloseableReentrantLock.java