allow user to exit from cli