public function out($s, $flush = true) { if ($this->heartbeatTimer !== null) { Timer::setTimeout($this->heartbeatTimer); } return parent::out($s, $flush); }