code: public String Stop(boolean crumbFlag) throws HttpResponseException, IOException {
          try {
  
              return client.get(url + "stop");
          } catch (HttpResponseException ex) {
              if (ex.getStatusCode() == HttpStatus.SC_METHOD_NOT_ALLOWED) {
                  stopPost(crumbFlag);
                  return "";
              }
              throw ex;
          }
      }
docs: Stops the build which is currently in progress.  This version takes in
  a crumbFlag.  In some cases , an error is thrown which reads
  "No valid crumb was included in the request".  This stop method is used incase
  those issues occur
  
  @param crumbFlag flag used to specify if a crumb is passed into for the request
  @return the client url
  @throws HttpResponseException in case of an error.
  @throws IOException in case of an error.