private void remoteClientClose() {
   if (null != mRemoteWriteThread) {
     mRemoteWriteThread.setStop();
     mRemoteWriteThread = null;
   }
   if (null != mRemoteClient) {
     mRemoteClient.stop();
   }
 }
 @Override
 public void disconnected(Connection connection) {
   mRemoteClient.stop();
 }