Exception handling, redis-config improvements