add connection retries