NXP-15033 shutdown repository before runtime stopping