[tests] try yet another way to cleanly quit TB gui demo