Script stopt wenn Programm neustart erwartet