I've notice the same problem while reformatting the code. As is it code here it cannot...
There an error in the code of my last message and as I CANNOT edit my own message,...
CFtpServer destructor execute before all shell thread terminated !