Made BagOStuff fail fast in cas/lock on certain errors

* This avoids wasting time waiting on down servers

bug: 63058
Change-Id: Ia78a2036ffa7a20102ec9e8bf941cacb7fa63435
Merge "Made BagOStuff fail fast in cas/lock on certain errors"