Fix a glitch in processing timeouts in test execution

Tests on Linux have been failing with the error message "The process
must exit before getting the requested information".  This is probably
due to improper handling of timeout events.

Change-Id: I7b0e634eb5964d582f48ad4f4b0e30c07d4c0b0a