>>476
begin
Sleep(180000);
ExitWindowsEx(...
end;