Betfair offers exchange sports betting. There, you always have 5 seconds to cancel an order even after it's match, and they suspend trading near a major event, like a goal in a football match. This seems to work quite well.
So cancellations made immediately before e.g. a goal are rolled back? Otherwise that sounds exploitable, as the probability of a goal increases dramatically before the goal takes place.