Trying to limit thread count on jvm through pom.