Timeouts after 60 seconds when connecting to k8s clusters managed by rancher

We have rancher managing a few k8s cluster and we have a script that runs a kubeclt exec on a certain command that takes more then 60 seconds to run.
When working directly with EKS it works fine but when connecting through rancher (with kubeconfig that proxy the connection through rancher) - it timeouts after 60 seconds…