External USB HDD is not spinning down

I can confirm that your solution works for WD Green 4TB.
Thanks a lot.

Regards.