public void execute() throws IOException {
   List<ClientDetailsEntity> clientDetailsList = clientDetailsDao.getAll();
   for (ClientDetailsEntity clientDetailsEntity : clientDetailsList) {
     LOG.info("Checking client: {}", clientDetailsEntity.getId());
     if (PojoUtil.isEmpty(clientDetailsEntity.getGroupProfileId())) {
       LOG.info("Found orphan client: {}", clientDetailsEntity.getId());
       if (!dryRun) {
         // Remove the client
         LOG.info("Removing orphan client: {}", clientDetailsEntity.getId());
         clientDetailsDao.remove(clientDetailsEntity.getId());
       }
     }
   }
 }