Jetty for Gradle working. Changed closeQuietly.