Preventing overheating of the parts to be joined