fix jetty threads getting stuck

Fix Jetty threads getting stuck on exceptions
Merge pull request #538 from metamx/fix-jetty-exception-handling

fix jetty threads getting stuck