NXP-14811: fixing shutdown