Error handling in webserver_open()