@Override
    public final void removeListener(Consumer<?> listener) {
        requireNonNull(listener, "listener");
        reentrantLock.lock();
        try {
            updateListeners.remove(listener);
        } finally {
            reentrantLock.unlock();
        }
    }
Adds a {@link Consumer} that will be invoked when a {@link Listenable} changes its value.
If {@code notifyLatestValue} is set to true and the {@link #latestValue()} is not null,
the {@link Consumer} will be invoked immediately with the {@link #latestValue()}.
core/src/main/java/com/linecorp/armeria/common/util/AbstractListenable.java