3-way valves with internal thread