Added ability to kill webserver on exit.