Wait for user input untill he decides to enter exit command.