web server, better cleanup