Why only exclusive locks? Honestly, I don't like removing the locks at the firs place and would rather solve that issue by marking the task as stopped (no matter what state the dynflow task is): if it's stuck, the task will stay in the stopped state, if something happens around it, it will get reset to the running state, which is what we would probably want anyway