Fix install_game and wait for process to exit before continuing.