Yeah ive seen that before, just not at the end game.
It happens when the shot clock expires and the other team steals the ball. For some reason, theres a bug where the steal dosnt show up for a extra 20-30 seconds, so the shot clock runs for upto 40-50 seconds.
Bad luck man, im sure your guys wouldve fouled and played the free throw game.
Manager of the Bahamas National Team!