Cocos gui does a proper shut down again. No more dangling threads.