added comment to application_closing handler