Avoid exception stacktrace on server.stop()
Fixed failing test
Removed not needed imports
Keep thread that Jetty runs in as variable