code: public synchronized void cancelAll() {
  		if (activeRequests.size() > 0) {
  			List<HttpRequest> temp = new ArrayList<>(activeRequests);
  			for (HttpRequest request : temp) {
  				request.cancel();
  			}
  		}
  		notifyCancelledAllRequests();
  	}
docs: Cancel all active requests