Bot gets disconnected due to "An established connection was aborted by the software in your host machine"

Often this is actually you not pulling messages off quickly enough, where the queued messages exceed ~20. You might try checking to make sure you’re not blocking your listener thread.