Error "WARN webdriver: Request failed with status 500 due to An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original err or: socket hang up" occured in Appium + Wdio

Hello!
I am new in Appium. I am running e2e tests for native mobile app on android physical devices.
I am using Webdriver IO framework. I have 9 spec files with 9-10 tests into each file.
My capabilities are:
capabilities: [{
maxInstances: 1,
platformName: ‘Android’,
‘appium:udid’: < device udid>
‘appium:deviceName’: ‘Google Pixel 2’,
‘appium:platformVersion’: ‘11.0’,
‘appium:automationName’: ‘UiAutomator2’,
‘appium:fullReset’: true,
‘appium:app’: <path to .apk file>
}]
Could you, please, help to resolve this issue?
Thanks!

I have used driver.launchApp() and driver.closedApp() before and after each test