Utility class added to support test with timeout condition.