code: private void sendAutoRetryRequest(ResponseListener responseListener) {
  		Log.i("BMSCore", String.format("\n\nSending request to 504 endpoint"));
  
  		Request request504 = new Request("http://httpstat.us/504", Request.POST, 1000, 5);
  		request504.send(getApplicationContext(), "Sample upload text", responseListener);
  	}
docs: Exercise auto-retries by trying to resend a request up to 5 times with a 504 (gateway timeout) response