Limit retry attempts