I need to remove gas logs from my fireplace. The gas pipe wraps around the chimney and comes in through the back of the firebox. I think there are 5 elbows on the outside of the house. There is a key turned valve of some kind that seems to cut off the gas to the logs. Can I just close the valve and then use a pipe wrench to unscrew the length of pipe that comes into the house, take off the last elbow, and put on a cap, using gas-rated pipe joint compound? I'd like to leave the gas on the outside of the chimney because I might want to put a gas conversion on my grill, and the chimney is right next to the deck.