You can do so by adding a counter variable to obj_gmlive and changing obj_gmlive's Async - HTTP event to be like
if (live_async_http_check()) {
live_async_http();
if (!live_is_ready && ++retry_counter > 5) instance_destroy();
}Someone else asked about this before so I'll see about adding a built-in thing later