Whitespace police

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1580824 13f79535-47bb-0310-9956-ffa450edef68
Review after unexpected failed test on OSX
- completed needs to be volatile
- prevent infinite loop

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