Make sure that game:on_finished() is called only once.