code: private synchronized void abort(){
         if(pipe_thread1 == null) return;
  
         log("Aborting UDP Relay Server");
  
         remote_sock.close();
         client_sock.close();
  
         if(controlConnection != null) 
            try{ controlConnection.close();} catch(IOException ioe){}
  
         if(master_thread!=null) master_thread.interrupt();
  
         pipe_thread1.interrupt();
         pipe_thread2.interrupt();
  
         pipe_thread1 = null;
      }
docs: ///////////////