public static function terminateWithError(string $message, int $errorCode = 503): void
    {
        http_response_code($errorCode);
        header('Retry-After: 300'); // 300 seconds / 5 minutes
        print $message;
        exit(1);
    }