Capillary thermostats