The main drain pipe going in my basement that goes out through the foundation the cleanout cap is leaking and rusting. But it seems to be leaking on the thread portion where the cap threads into(not the cap itself). I have yet to try to remove it, worried if they threads are so far gone, I will not be able to put it back together. Also it looks like the cap unthreads but then the stepped section also fits into the main pipe, how does this portion get removed? In the event I can get it out with or without damage, what are my options? I have attached pictures to help show what I am describing and where it is leaking/rusting from. It seems like I am also getting a slight odor in this room and I believe its from this leak.