Improving safety, efficiency and extending the service life of valves