when set to true, program.application.exit() will be issued after the maximum duration has been reached
program.application.exit()