Thermal avalanches near a Mott transition