code: void reset(boolean deleteFile) {
          String path = this.path;
          this.path = null;
          this.projectId = -1;
          this.projectToken = null;
          this.deviceId = null;
  
          this.client = null;
  
          synchronized (dataStoreLock) {
              dataStore = null;
              dataBatches.clear();
          }
  
          if (deleteFile) {
              File f = new File(path, DEVICE_FILENAME);
              if (f.exists()) {
                  f.delete();
              }
          }
      }
docs: Resets the iobeam client to uninitialized state, including removing any added data.
  
  @param deleteFile Whether or not to delete the on-disk device ID. Tests use false sometimes.