set jetty thread count as a config

Made it so the number of jetty threads is configurable.
also clear it.