You could use signals with a sleep (mentioned above- that seems harmless enough) or you give
a try which will allow you to pass relevant information ALONG with the signal to continue. Maybe then, you can be sure that the SIGARLM is really a continue and not a joke played on you by a mindless "other" root user.