Re: How to terminate correctly program?