convert to try block to handle if the schedule was already removed