I have exactly the same problem: a pause command freezes 1 second before it’s supposed to end. So a pause of 30s would freeze after 29s. Never earlier.
Also, it’s not one specific pause command in the script, not even in a specific script. Sometimes all the scripts with all their pauses would run perfectly. And then just randomly one of the 20+ pause commands somewhere in a then running script would freeze.
No error is shown. Pause and resume does not work.
Strange thing is: it only began a few weeks ago. The scripts ran smoothly for months. I never had this problem before. And suddenly, without changing the scripts in any way, this problem appeared.
I run kantu in Chrome (v 75.0.xxxx.xx) on a windows 7 (64bit) machine