Backport r1611551. Fix regression with r1611509: NPE on stop (only threadStop should set thread to null, or it needs a sync).

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