Ensure that dropwizard closes the Spring context on shutdown