res/res_phoneprov: Fix crash on shutdown caused by container cleanup