if(send_queue != null) send_queue.close(false);
           void stop() {               if(senderThread != null) {                   if(send_queue != null)                       send_queue.close(false);                   Thread tmp=senderThread;                   senderThread=null;                   tmp.interrupt();                   running=false;               }           }