3-way valves with external thread