fixed webserver exception on keyboard interrupt