Two-piece internal thread ball valve