Fix endless loop after authenticate when the swift server is not reachable
Fix endless loop after authenticate when the swift server is not reachable

This avoids a endless loop when getting an error from doTimeoutRequest an method call

ArtieReus/swift