PTFM-13951 Retry upon connection error even for non-idempotent requests

@kislyuk, care to review?
The name `ConnectionError` is already imported, perhaps use it here?