Add connection retries