protected function internalTimerTick() {
        if($this->messenger->usesSockets()) {
            foreach($this->workers as $worker) {
                if(!$worker->isRunning()) {
                    $this->stopWorker($worker);
                }
            }
        }
        
        $this->handleResize();
        $this->handleTasksTimeout();
    }