add option to couch doc locking to degrade gracefully when redis is down