code: protected void cancelFaxJob(HylaFaxJob faxJob,HylaFAXClient client) throws Exception
      {
          //get job
          Job job=faxJob.getHylaFaxJob();
          
          //cancel job
          client.kill(job);
      }
docs: This function will cancel an existing fax job.
  
  @param   client
  The client instance
  @param   faxJob
  The fax job object containing the needed information
  @throws  Exception
  Any exception