change serverRetries to failures