Exit system on game end.