public function writesDone()
    {
        if (!$this->has_real_call) {
            $this->createRealCall();
            $this->has_real_call = true;
        }
        $this->real_call->writesDone();
    }