Avoid using busy loop to wait for creation of the system tray.