Fix test race by locking around ar.tasks access
Fix test race by locking around ar.tasks access

nak3/nomad,dvusboy/nomad,hashicorp/nomad,dvusboy/nomad,dvusboy/nomad,frundh/nomad,dvusboy/nomad,burdandrei/nomad,burdandrei/nomad,Ashald/nomad,nak3/nomad,burdandrei/nomad,frundh/nomad,hashicorp/nomad,kmalec/nomad,frundh/nomad,Ashald/nomad,nak3/nomad,burdandrei/nomad,nak3/nomad,hashicorp/nomad,kmalec/nomad,Ashald/nomad,burdandrei/nomad,nak3/nomad,nak3/nomad,kmalec/nomad,dvusboy/nomad,frundh/nomad,dvusboy/nomad,burdandrei/nomad,frundh/nomad,hashicorp/nomad,kmalec/nomad,Ashald/nomad,dvusboy/nomad,hashicorp/nomad,nak3/nomad,kmalec/nomad,burdandrei/nomad,frundh/nomad,frundh/nomad,Ashald/nomad,Ashald/nomad,hashicorp/nomad,kmalec/nomad,kmalec/nomad,Ashald/nomad