Google Hangouts keeps history regardless of settings
The history setting only affects messages as they are sent. Turning history off doesn't delete old messages that were sent while history was turned on. If you want to delete your old messages as well as stopping new messages being saved, you can do this with Delete in the chat's menu (or Delete history in the web-based client).