Error : socket hang up

Suddenly this error arose and i am not able to run my tests.
Error " FAILURE!
Proxying [DELETE /] to [DELETE] with no body

[WD Proxy] socket hang up

[UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up

[ADB] Running ‘C:\Users\Rashid\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.neets.hercules’

[Logcat] Stopping logcat capture

I tried different solution but it did not fix the issue, help needed.

Curious, what solution did you try?
Or did you merely reboot everything?