async reset() {
    await this._lockfile.exclusively(() => {
      const empty = this._getInitialLockFileState();
      this._lockfile.write(empty);
    });
  }
Safety method to ensure that there are no remains of previously crashed Detox sessions.