I've been programming a bot that can make an appointment for a dental clinic as an example. If the human tries to make an appointment in a day when there is no hours left, the robot asks if he/she would like another day. If the human says something like 'No', I would like to close the bot so it seems like the human or the robot have hanged up. Thank you in advance and if I haven't had explained me correctly ask anything you need.