make degrade_gracefully for redis locking more consistent