Further, what if there is a blocking script but that terminates after 2 secs (4 secs or whatever timeout you hardcode)? Such app is gonna be pending forever with the proposed logic, right?