- trying to flush buffered output if legacy script uses exit()