How can I prevent the system from stopping on an error because the system has to do some updates before processing the next step in an InputScript?

You can use the command "Retry on error" in your InputScript. Put it just after the Screen command where you expect to get the message that the object is still blocked (since the update task is not yet finished). GuiXT then waits a second, trying again later on, after an increasing period of time.