- Add config var for max wait time for a deployment - Move exit function and trap to the beginning of the script - Execute the rollout status command using timeout -- Use signal 2 (SIGINT; same pressing CTRL+C) -- Abort the command if it is still running when max time is reached -- If the command was aborted, rollback this deployment