When the script is launching, the hub checks the devices involved and sends the command to perform predefined actions. But afterwards the hub does not control how does the device's operation fit into the script. For example, If the user manually turns on / off the device involved in the script or reboots the hub, then the timer counting down in the running script will stop.