Removed thread pool size magic number. Added javadoc