I have a task to implement a circuit breaker in a aws lambda function (in typescript), witch is stateless and complicates things. I need to use a elasticache redis to store the