LPS-33151 preventing potential NPE on Jetty shutdown