outsource the NonceManager