* commit '567f47b8aa0789c1631e9a5a275c787d1eee2311': Check for apps closing and restore mExiting test.