Try entering, in the chat text box, /timer 5 0.
Then set Mafia to adventure 10 times somewhere. /timer times out after 5 adventures but does nothing.
The Preferences option under General, "Don't stop automation when counters expire," has no effect, checked or unchecked, on this behavior. I'm...