SAP Freeze handler

The bot hangs inifinetly when sap screen is hanged or not responding for long time. I tried using WaitForready property as well setting timeout on Click however nothing works. The bot stays stuck at that step until SAP is closed using task manager and bot is restarted manually. On several other forums the solution link given for sap freeze handler is not opening as well. please advise.
The below link does not open as well which is marked as solution on other forums. Please note that sap scripting is enabled as well.
https://connect.uipath.com/marketplace/components/freeze-handler-snippet-for-sap