Sealing of the valve shaft in the housing