do we need support `do_at_exit` , it seems in js browser, there is no exit? but in server side, it is perfectly fine