retry on connection error