thread pools now have a end condition and javadoc was updated