Removing ice or water from heat-exchange apparatus