public void disableScheduleRenewal(){
  currentLease.set(null);
  Set<Lease> leases=new HashSet<>(schedules.keySet());
  for (  Lease lease : leases) {
    cancelSchedule(lease);
    schedules.remove(lease);
  }
}

public void disableScheduleRenewal ( ) { currentLease . set ( null ) ; Set < Lease > leases = new HashSet < > ( schedules . keySet ( ) ) ; for ( Lease lease : leases ) { cancelSchedule ( lease ) ; schedules . remove ( lease ) ; } }
disables schedule for already scheduled renewals .
