force application terminate after from close