If your set_window eventually succeeded then reducing the timeout won't do any good. Reducing the timeout would only cause set_window to fail if normally it takes some time to find the correct window.
You should reduce the timeout only to "speed up" failed set_window statements.
Quality is the result of a carefully constructed cultural environment. It has to be the fabric of the organization, not part of the fabric.