Yes, the loose fitting cleanout cap could be the source of the occasional smell, if there is no breeze to move sewer gas away.
From your description, the pool backwash drains into the sewer? I am surprised that it does, but if it does, that pipe needs to have a vented trap, or it will allow sewer gas out as well.
Lake County, Florida plumber
Springtime Plumbing Services