Fixed Redis socket exceptions.

Using another approach at determining the Celery backend.
Split _LockManagerRedis into that and _LockManager for future managers.