Remove jetty7-specific code for calculating max threads