app->handleRequest($_GET, $_POST, $_COOKIE, $_FILES, $_SERVER); } catch (\Throwable $e) { $this->exceptionHandler->handleException($e); } }); $this->app->terminate(); gc_collect_cycles(); if (!$keepRunning) { break; } } } }