private void clearRepeatTask(final ISpeedTestListener listener,final Timer timer){
  mSpeedTestSocket.removeSpeedTestListener(listener);
  if (timer != null) {
    timer.cancel();
    timer.purge();
  }
  mRepeatFinished=true;
  mSpeedTestSocket.closeSocket();
  mSpeedTestSocket.shutdownAndWait();
}

private void clearRepeatTask ( final ISpeedTestListener listener , final Timer timer ) { mSpeedTestSocket . removeSpeedTestListener ( listener ) ; if ( timer != null ) { timer . cancel ( ) ; timer . purge ( ) ; } mRepeatFinished = true ; mSpeedTestSocket . closeSocket ( ) ; mSpeedTestSocket . shutdownAndWait ( ) ; }
clear completly download / upload repeat task .
