should be a static field - MAX_RETRIES or something similar