Commit Graph
1 Commits
Author SHA1 Message Date
Pavel Valach d3d75d1073 client.connect(): after error, close the connection
Otherwise, the next self._connection.connect() call will not try again. In fact, it will do nothing. It won't raise the exception again.

Therefore, closing the connection before retrying is mandatory.
2017-12-18 13:34:39 +03:00