Created attachment 33112 [details] patch file please see attachment patch. last $KILL_SLEEP_INTERVAL check condition may be wrong. "gt"->"lt"
Thanks for the report and and suggested fix. I ended up applying a slightly broader patch that remove a couple of unnecessary lines as well. This has been fixed in trun, 8.0.x (for 8.0.27 onwards) and 7.0.x (for 7.0.65 onwards).