i used to turn off my engine during long-ish waits.
i figured, if 30 seconds or more waiting, i turn it off.

so far, after 13 years and over 124K km, ok naman engine.
but i had to replace my battery more than twice as often as my other car's, whose driver did not turn off the engine during long-ish waits as i did.