retry on lost connection