refs, then you need to be prepared for idiosyncratic outcomes.
The Jazz did enough to put themselves in position to win, but then the final outcome was left to the luck of the draw. The obvious takeaway is to not allow yourself to get into that kind of situation against a team that is probably going to miss the playoffs.