Perhaps `!uv_is_closing(...)`?