Improve JettyThreadLimitTest
It should now fail less and catch more errors
Removed unused imports
Merge pull request #2665 from ragadeeshu/jettythreads

Improve JettyThreadLimitTest