Removal of a socket from the poller needs to happen on the poller thread as removal, like addition, is not thread safe.
Removal of a socket from the poller needs to remove the socket from the addListif it is present otherwise the closed socket could end up in the poller.

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