Thermal management of an interventional medical device with double layer encapsulation