Improve JettyThreadLimitTest

Should now catch more errors and fail less