close conditions where another thread can close the stream after the ensureOpen check has been done. PR: 13372 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274091 13f79535-47bb-0310-9956-ffa450edef68