move redis connection into request start