Closing a pipe also waits for the process executing on the pipe to complete..
In reply to Re: Cannot catch ALRM signal for timeout by Fox in thread Cannot catch ALRM signal for timeout by Magice