Hi there,
When trying to connect more than 4 Android devices, the log doesn’t show more than 4 appium servers being initialized. The fifth one seems like it’s being taken over due to a socket error being ended by another session. Please help 
[debug] [AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:getAttribute”,“params”:{“attribute”:“className”,“elementId”:“8”}}
[MJSONWP] Encountered internal error running command: Error: Android bootstrap socket crashed: Error: This socket has been ended by the other party
at Socket. (…/…/lib/bootstrap.js:87:21)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Socket.writeAfterFIN [as write] (net.js:294:8)
at …/…/lib/bootstrap.js:112:25
at Promise.F (C:\Users\pmadeya\AppData\Roaming\npm\node_modules\appium\node_modules\core-js\library\modules$.export.js:30:36)
at AndroidBootstrap.sendCommand$ (…/…/lib/bootstrap.js:108:18)