Use ctrl c to terminate console app