It's annoying, but you only wasted 30 min.
If it's the other way (intl flight arrives but skipped customs, and people left airport), then you might have to return to the airport to do customs (which takes more than 30 min).
https://www.thestreet.com/travel/mul...ational-flight