/**
  * @param string $id
  * 
  * @return AggregateRoot
  */
 public function load($id)
 {
     try {
         $this->lockManager->obtain($id);
         return $this->repository->load($id);
     } catch (Exception $e) {
         $this->lockManager->release($id);
     }
 }