handle create_server() error