It's related to MC-13949 but with this command:
/execute as @e[type=!player] run data modify entity @s Leash set value {}
Then the lead drops and i have no way to prevent that (MC-75494 might be enough....)
MC-196158 Unleashed entities drop a lead using /data