Your son’s PJ’s may be free but give the kid a break and pony up for the cap. A rubber cap with a hose clamp at the local home supply store is only $6.56,  besides who wants to take the chance of having nasty sewer gas in the house?wrong way to cap off pipe

The Right Way to Cap off a Pipe