Add check for expiring already finished games

It worked before, but just used extra server CPU time in some cases.