The `timeout' keyword argument was never used, replace it with a test for UHWMTEST_OUTPUT_TIMEOUT environment variable and use the value when set.