Error by the locution "hang the habits".
HANGING HABITS (and not habits) euphemism for retiring, retiring from a profession, trade or position.