Fixed binary comparison problem
Add setter for retryCount, defaults to -1, no retries.