fn with_connection<T>( action: impl FnOnce(&RedisConnectionFactory, &mut RedisConnection) -> Result<T, RedisError>, ) -> Option<T>