title: Python HTTPServer Exceptions cause it to fail
body: <p>I've tried many different ways of writing a simple HTTP server for Python (using IronPython in a hosted environment) and whenever there is an error (e.g. run-time error) the Python environment just hangs, rather than shutting down and reporting the error. </p>
  
  <p>Update:</p>
  
  <p>There is a <a href="https://stackoverflow.com/questions/5178536/in-python-how-to-get-a-udpserver-to-shutdown-itself/5182733#5182733">comment on an answer to another SO question</a> that suggest that calling "self.server.shutdown()" in a request handler also causes a Python web server to hang in Windows. </p>
  
  <p>So possibly run-time exceptions lead to the same problem. </p>