You can clean the titanium or stainless steel stove pipe flue with a soft brush.
If you have no brush, you can also clean out your chimney with soft soapy water and a soft towel.
Please note that you should dry the wet chimney under the sun or in wind. Dry stovepipe can be stored for a long time.