Appium session cannot be started due to MjpegScreenshotServer crash

can anyone help when this error occurs during appium start session. I am running this on a real device.

From the appiums logs I can see some exception like:

Caused by: java.lang.IllegalStateException: UiAutomationService andr[email protected]939608dalready registered!

Appium logs:

appium_logs.txt (33.5 KB)