Wrap sudo access prompts in a mutex
Wrap sudo access prompts in a mutex

Fixes #3910.

zhangkuaiji/bundler,robinboening/bundler,mpapis/bundler,chulkilee/bundler,RochesterinNYC/bundler,kohgpat/bundler,philnash/bundler,AiyionPrime/bundler,Eric-Guo/bundler,Eric-Guo/bundler,jingweno/bundler,simplybusiness/bundler,ximus/bundler,elovelan/bundler,h4ck3rm1k3/bundler,bronzdoc/bundler,pivotal-cf-experimental/bundler,chef/bundler,philnash/bundler,masarakki/bundler,kohgpat/bundler,mvz/bundler,carpodaster/bundler,chulkilee/bundler,ipmobiletech/bundler,suhastech/bundler,joshsoftware/bundler,joshsoftware/bundler,seanlinsley/bundler,RochesterinNYC/bundler,simplybusiness/bundler,Teino1978-Corp/Teino1978-Corp-bundler,asutoshpalai/bundler,agis-/bundler,zhangkuaiji/bundler,chef/bundler,asutoshpalai/bundler,h4ck3rm1k3/bundler,jingweno/bundler,schaary/bundler,dilumnavanjana/bundler,gregkare/bundler,elovelan/bundler,ximus/bundler,mvz/bundler,davydovanton/bundler,Teino1978-Corp/Teino1978-Corp-bundler,bundler/bundler,agis-/bundler,jasonkarns/bundler,robinboening/bundler,bronzdoc/bundler,AiyionPrime/bundler,danimashu/bundler,danimashu/bundler,bundler/bundler,seanlinsley/bundler,neslom/bundler,gregkare/bundler,ipmobiletech/bundler,dilumnavanjana/bundler,jasonkarns/bundler,schaary/bundler,suhastech/bundler,pivotal-cf-experimental/bundler,neslom/bundler,carpodaster/bundler,masarakki/bundler,davydovanton/bundler,mpapis/bundler