pass. The race condition is still there, this only masks the problem that a Thread that sleeps for TIME_OUT/2 might not terminate within TIME_OUT. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268698 13f79535-47bb-0310-9956-ffa450edef68remotes/1776816827838153613/tmp_25f451bd36ab3145e487fcb2cd5c62c571e5b602