Release the lock acquired for the thread in preSave().
protected function releaseThreadLock() { if ($this->threadLock) { \Drupal::lock()->release($this->threadLock); $this->threadLock = ''; } }