Update ThreadPoolFactory.java

Small mistake.