console application finish