The default error dialog timeout is 15 minutes. You can increase that timeout by creating a “Set Task Sequence Variable” step at the beginning of your TS.
Name: Give it a name. Ex “Set SMSTSErrorDialogTimeout to 24 Hours”
Task Sequence Variable: SMSTSErrorDialogTimeout
Value: 86400