Added no-network check to heat_source to fix a runtime if not connected to a network.