Catch ConnectionError on Py3.

This is a very boring possible fix for #442.

@joneskoo, do you might testing this branch out to see if it resolves your problem? Actually testing this is stupid-hard, you basically need to rely on a timing window.
Root-indent groups are separated by two lines. :P </supernit>