public override void run()
 {
     try
     {
         sleep(5000L);
         if (NetworkManager.getReadThread(netManager).isAlive())
         {
             try
             {
                 NetworkManager.getReadThread(netManager).stop();
             }
             catch (Throwable throwable)
             {
             }
         }
         if (NetworkManager.getWriteThread(netManager).isAlive())
         {
             try
             {
                 NetworkManager.getWriteThread(netManager).stop();
             }
             catch (Throwable throwable1)
             {
             }
         }
     }
     catch (InterruptedException interruptedexception)
     {
         interruptedexception.printStackTrace();
     }
 }
 public override void run()
 {
     try
     {
         sleep(2000L);
         if (NetworkManager.isRunning(netManager))
         {
             NetworkManager.getWriteThread(netManager).interrupt();
             netManager.networkShutdown("disconnect.closed", new object[0]);
         }
     }
     catch (Exception exception)
     {
         exception.printStackTrace();
     }
 }