Keycloak restarts if Infinispan restarts


I have an authentication server with 3 authentication pods and 2 infinispan pods, on Keycloak all the ISPN caches are distributed with 2 owners, i have the same configuration in infinispan.

When the infinispan server restarts, one of the three keycloak pods restarts randomly, apparently because it loses the connection to that infinispan server.

Why is this happening? Is a bad configuration or this is the normal behaviour? And if is not, do you know how can i avoid that? Thank you!