Add a Ctrl + C manager to handle user's input to exit