cubicweb #1942736 ensure looping tasks aren't restarted when repo is shutting down [resolved]

we should have a safety belt in cw itself again looping task which use 'try / except' or doesn't need to access the db (which will trigger ShuttingDown exception)

prioritynormal
typebug
done in3.13.6
load0.100
load left0.000
closed by#5f145462e041 [repo] ensure we don't restart a task while the repo is shutting down (closes #1942736)