Cool Your Heels

What does the idiom “cool your heels” mean?

Definition: Wait

Example: We agreed we’d meet at the mall at 3. But you left me cooling my heels for two whole hours.