added log for app shutdown