When an error occurs in a task sequence, a dialog box is displayed that is dismissed automatically after 15 minutes.
KB0011007 explains down to increase or decrease the timeout before the dialog is dismissed. This is useful when imaging a lab overnight. For example, setting a value of 86400 seconds will keep the dialog on the screen for 24 hours.