update gem
try locking the nonce file so that multiple threads work