To retire or not to retire? For academics, this can be a complicated question