1)cleaner code \n 2)no crashes after BYE and after SHUTDOWN \n 3)better names 4 vars. \n @todo crash after shutdown andreconnect