public function storeResult($worker, $requestId, $result)
    {
        $request = $worker->getRequest();
        if ($request === null) {
            return;
        }

        if ($request->getId() != $requestId) {
            $this->getLogger()->error('RequestId mismatch ('.$requestId.' => '.$request->getId().').');

            return;
        }

        $this->storage[$requestId] = $result;
        $worker->setRequest(null);
        $this->notify($requestId);
    }