If connection is interrupted (for example qubesd restart), attempt to reconnect.
This module use asyncio, so require Python 3. And actually >= 3.5.2 because of asyncio.StreamReader.readuntil(). Modules are designed the way it's still possible to use non-events API on Python 2.