So i've edited the command in WFA and added the timeout parameter to the following line
Connect-WfaCluster -Node $Cluster -Vserver $StorageVirtualMachineName -timeout 300000
Fine if this worked for you, but I would say you don't need to edit a command to provide a non-default timeout. Besides editing the command code means connection to all clusters will use this increased timeout value while your problem I assume is with this very cluster only.
You can modify the connection timeout values in WFA-Credentials for this cluster.
See below, I've modified the timout to 600 sec for this cluster.
NOTE: This is only available in WFA4.0 and above
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.