[sr-dev] git:4.3:f07d47d7: core: relocate dbg message before killing children at shut down