minor method to prevent terminal from exiting immediately