Fix Jetty exception on close, expose attribute