added stopping options for embedded jetty