Thermowell without dead spaces