Strain relief for cables in industrial applications