Towards the end of drying of granular materials: enhanced evaporation and drying-induced collapse