How to clean built up residue from the glass stem of my water pipe?

I was advised to boil the stem but doesn’t glass break at high temperatures?