/**
  * deleteThese
  *
  * @param deleteServices a {@link java.util.List} object.
  * @throws java.io.IOException if any.
  */
 public void deleteThese(java.util.List<String> deleteServices) throws IOException {
   for (String svcname : deleteServices) {
     if (pkg != null) {
       boolean flag = false;
       Collection<Service> svcColl = pkg.getServices();
       if (svcColl != null) {
         for (Service svc : svcColl) {
           if (svc != null) {
             if (svc.getName().equals(svcname)) {
               pkg.removeService(svc);
               removeMonitor(svc.getName());
               deleteCapsdInfo(svc.getName());
               props.remove("service." + svc.getName() + ".protocol");
               props.store(
                   new FileOutputStream(
                       ConfigFileConstants.getFile(ConfigFileConstants.POLLER_CONF_FILE_NAME)),
                   null);
               break;
             }
           }
         }
       }
     }
   }
 }