Cyanoacetylene gas-phase chemistry of relevance in interstellar objects