CDITCK-424 fix manual destroying of dependent beans