Only force quit when UI quits before tests