@Override
 public void pause() {
   if (state != TransferState.FINISHED) {
     state = TransferState.CANCELING;
     httpClient.cancel();
   }
 }
  @Override
  public void remove() {
    if (state != TransferState.FINISHED) {
      state = TransferState.CANCELING;
      httpClient.cancel();
    }

    if (deleteDataWhenRemoved) {
      getSaveLocation().delete();
    }
  }