Slant hesitation

nm9- If I'm in normal traffic it will start right back up, but after idling for 30 minutes it shut off and would not start until it cooled.