title: How to shutdown com.sun.net.httpserver.HttpServer?
body: <p>The Http Server embedded in JDK 6 is a big help developing web services, but I've got situation where I published an Endpoint and then the code crashed and left the server running.</p>
  
  <p>How do you shutdown the embedded server once you've lost the reference to it (or the published Endpoint)?</p>