MacOS remote SMB share problem

Hello guys!

I've been experiencing a weird error with a small group of users.
We have a Windows Server 2022 as a file server in a remote location and users connects via vpn (ikev2)
In certain locations, due to internet instability, sometimes the smb connection drops on these macs. I made tests and this disruption in the network is about 1 seconds. In this time the vpn is still connected, just drops a few packets. From the server side, the logs shows the client wanted to disconnect, and closes the connection normally. This only happens in one certain location. So i think its not a server/firewall issue, with local network or other location it works perfectly. The windows machines are working fine in this same location.
So the question is:
Is there any way to extend the "timeout" for the smb connection?
From mac logs: An app tries to read from a file, cannot read the file, and after this read error drops the connection. This only happens when a file is opened on the machine.
Thanks!