Remote connection error when running scripts through jenkins

Iam getting below error in Jenkins while trying the build the script in Jenkins.

2022-07-04 20:10:58.399 runscript[10028:28256] Load C:\Program Files\Eggplant\\Resources\ABBYY\Bin\FREngine.dll
2022-07-04 20:10:58.468 runscript[10028:28256] Successfully loaded FREngine.dll
2022-07-04 20:10:59.583 runscript[10028:28256] OCR enabled-unlimited usage
2022-07-04 20:11:08.776 runscript[10028:6884] Execution of the script located at path: C:/Eggplant CSV/BUPA_CRM_Non_Shared/Non_Shared.suite/Scripts/Untitled.script STARTED
2022-07-04 20:11:08.847 runscript[10028:6884] Unable To Lock SuiteInfo file - Could not save EggplantCommon.suite.
Error: 13
If your file system does not support file locking please use:defaults write Eggplant SuiteLockingEnabled NO
2022-07-04 20:11:08.867 runscript[10028:6884] File NSObject+GNUstepBase.m: 61. In -[NSObject(GNUstepBase) compare:] WARNING: The -compare: method for NSObject is deprecated.
2022-07-04 20:11:09.565 runscript[10028:6884] Execution of the script located at path: C:/Eggplant CSV/Non_Shared/.suite/Scripts/Untitled.script ENDED
2022-07-04 20:11:09.565 runscript[10028:13252] reported exception - <NSException: 0x12c39c88> NAME:Script Failed REASON:No Remote Connection:

Check that only one instance of Jenkins is running. I had an issue where Jenkins was running on a backup server trying to execute the scripts at the same time.