Tame error handling and connection retries