My relay doesn't switch off when it gets hot

If you are serious about building projects don’t use crap components.

Use quality manufactures eg. POTTER&BRUMFIELD