CommandlineExecutor.awaitExit().countdown and calls closeable if reached zero.countDown() and the last reaching zero executes the job().ForkChannel.CountdownCloseable.CloseableDaemonThread.Copyright © 2004–2025 The Apache Software Foundation. All rights reserved.