private void removeTask(final TaskHandle taskHandle) {
            synchronized (taskMonitor) {
                pendingTasks.remove(taskHandle);
                taskMonitor.notifyAll();
            }
        }
Wrapper around CountDownLatch for single-occurrence events.
jdisc_core/src/main/java/com/yahoo/jdisc/test/ServerProviderConformanceTest.java