code: public static void cancelAll(Context context,
        Class<? extends GroundyService> groundyServiceClass) {
      new GroundyServiceConnection(context, groundyServiceClass) {
        @Override
        protected void onGroundyServiceBound(GroundyService.GroundyServiceBinder binder) {
          binder.cancelAllTasks();
        }
      }.start();
    }
docs: Cancel all tasks: the ones running and parallel and future tasks.
  
  @param context used to interact with the service
  @param groundyServiceClass custom groundy service implementation