Convert WorkerThread to the new APIs

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-946@1600869 13f79535-47bb-0310-9956-ffa450edef68