Added stop() function to web server.