add WAITSTATUS channel variable output to WaitForSilence() application (bug #4256)