Close the demo if the player timeout.

The demo file isn't closed if the player timeout.