[timed] Don't invalidate std:set iterator by erasing while iterating
[timed] Don't invalidate std:set iterator by erasing while iterating

tonyespy/autotzd,pgerdt/timed,pgerdt/timed,pgerdt/timed,tonyespy/autotzd,pgerdt/timed,pgerdt/timed