fix for Linux: GUI could stale if timeout == 0 changed to timeout > 0