Add a mutex to protect against silly Chef::Config globals.