issue #50 : ask before closing the program