Hi, could you please tell more details about your idea? From currrent code logic, When runtime process sends ShouldSuspend message to render process,  if render process is running a blocking script, it will firstly finishes the script execution, then send ACK message to runtime process. 
If the script is a deadloop, the runtime process will never receives ACK message.