make sure webserver doesn't hang