Fix a bug in which the runner produces multiple results when process exits after the
game ends