Trying to fix deadlocks. When a task actively changes status (it is scheduled, it is run, it is stopped...) let's restart from the beginning in elaborating the queue.
Trying to fix deadlocks. When a task actively changes status (it is scheduled, it is run, it is stopped...) let's restart from the
beginning in elaborating the queue.

tiborsimko/invenio,tiborsimko/invenio,inveniosoftware/invenio,inveniosoftware/invenio