Attempt to address intermittent failures suspect to be caused by timing issues

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1524977 13f79535-47bb-0310-9956-ffa450edef68
Attempt to address intermittent failures suspect to be caused by timing/threading issues

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1524978 13f79535-47bb-0310-9956-ffa450edef68