Add Log message upon external shutdown and let the app finish completely.
Merge remote-tracking branch 'upstream1/master'