stop hub on ExitApplication