Only lock to copy task refs, then allow changes to the list while iterating
Only lock to copy task refs, then allow changes to the list while iterating

So that people can define new tasks while other tasks are being updated.

OpenSCAP/openscap-daemon,pthierry38/openscap-daemon,pthierry38/openscap-daemon,baude/openscap-daemon,OpenSCAP/openscap-daemon,baude/openscap-daemon